import request from '@/utils/request'

// 查询大屏列表
export function listDatav(query) {
  return request({
    url: '/dev/datav/list',
    method: 'get',
    params: query
  })
}

// 查询大屏详细
export function getDatav(id) {
  return request({
    url: '/dev/datav/' + id,
    method: 'get'
  })
}

// 新增大屏
export function addDatav(data) {
  return request({
    url: '/dev/datav',
    method: 'post',
    data: data
  })
}

// 修改大屏
export function updateDatav(data) {
  return request({
    url: '/dev/datav',
    method: 'put',
    data: data
  })
}

// 删除大屏
export function delDatav(id) {
  return request({
    url: '/dev/datav/' + id,
    method: 'delete'
  })
}
